package com.example.demo.vo;

import com.example.demo.model.Department;
import com.example.demo.model.UserLog;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

//一般用于定义sql中的resultType,只需要指定字段
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoLogVo {
    private Long id;
    private String username;
    private Integer age;
    private String sex;
    private Department department;
    private List<UserLog> userLogList;
}
